﻿CREATE TABLE [dbo].[tblWarehouse] (
    [WarehouseID]   INT          IDENTITY (150, 1) NOT NULL,
    [WarehouseName] VARCHAR (50) NOT NULL,
    [FactoryNameFK] INT          NOT NULL,
    PRIMARY KEY CLUSTERED ([WarehouseID] ASC), 
    CONSTRAINT [FactoryNameFKvalami] FOREIGN KEY ([FactoryNameFK]) REFERENCES [dbo].[tblFactory]([FactoryID])
);

